package com.pxst.agent.entity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
* @author zarke
* @since 2023-09-12 16:32:09
*/
@Data
@TableName("sys_rebate_regular")
public class SysRebateRegular {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "固定式回扣方案主键ID")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private Timestamp createdAt;

    @ApiModelProperty(value = "返点率")
    private Double rate;

    @ApiModelProperty(value = "回扣方案主键ID")
    private Long rsId;

    @ApiModelProperty(value = "更新时间")
    private Timestamp updatedAt;

    @ApiModelProperty(value = "固定值")
    private BigDecimal volume;


}
